package com.lc.zpyh.http.request;

import com.hjq.http.config.IRequestApi;

public class ResetPasswordApi implements IRequestApi {

    private String  userPhone;
    private String  code;
    private String newPassWord;

    public ResetPasswordApi setUserPhone(String userPhone) {
        this.userPhone = userPhone;
        return this;
    }

    public ResetPasswordApi setCode(String code) {
        this.code = code;
        return this;
    }

    public ResetPasswordApi setNewPassWord(String newPassWord) {
        this.newPassWord = newPassWord;
        return this;
    }

    @Override
    public String getApi() {
        return "user/login/resetPassword";
    }
}
